//
// Created by iguilty on 2022-01-12.
//

#include "AbstractFactory.h"
#include <iostream>
using namespace std;


int main(){
    AbstractFactory* factory1 = new ConcreteFactory1();
    factory1->CreateProductA();
    factory1->CreateProductB();

    AbstractFactory* factory2 = new ConcreteFactory2();
    factory2->CreateProductA();
    factory2->CreateProductB();
    return 0;
}